package com.sc.server.system.auth.entity;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import com.sc.server.system.common.base.BaseSystemVo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
/**
 * <p>
 * 角色与部门对应关系
 * </p>
 *
 * @author zw
 * @since 2020-03-05
 */
@TableName("sys_role_dept")
@Data
public class RoleDept  extends BaseSystemVo {
private static final long serialVersionUID=1L;

    /**
     * 角色ID
     */
    @TableField(value = "role_id")
      @ApiModelProperty(value="角色ID", example="角色ID")
    private Long roleId;

    /**
     * 部门ID
     */
    @TableField(value = "dept_id")
      @ApiModelProperty(value="部门ID", example="部门ID")
    private Long deptId;


}
